<?php

namespace Acme\ContestBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\ContestBundle\Entity\LinkContestStudent
 *
 * @ORM\Table(name="link_contest_student")
 * @ORM\Entity
 */
class LinkContestStudent
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var integer $contestId
     *
     * @ORM\Column(name="contest_id", type="integer", nullable=true)
     */
    private $contestId;

    /**
     * @var integer $stuId
     *
     * @ORM\Column(name="stu_id", type="integer", nullable=true)
     */
    private $stuId;

    /**
     * @var integer $groupId
     *
     * @ORM\Column(name="group_id", type="integer", nullable=true)
     */
    private $groupId;

    /**
     * @var string $stuStatus
     *
     * @ORM\Column(name="stu_status", type="string", length=1, nullable=true)
     */
    private $stuStatus;

    /**
     * @var integer $approver
     *
     * @ORM\Column(name="approver", type="integer", nullable=true)
     */
    private $approver;

    /**
     * @var datetime $approveTime
     *
     * @ORM\Column(name="approve_time", type="datetime", nullable=true)
     */
    private $approveTime;

    /**
     * @var string $flag
     *
     * @ORM\Column(name="flag", type="string", length=1, nullable=true)
     */
    private $flag;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set contestId
     *
     * @param integer $contestId
     */
    public function setContestId($contestId)
    {
        $this->contestId = $contestId;
    }

    /**
     * Get contestId
     *
     * @return integer 
     */
    public function getContestId()
    {
        return $this->contestId;
    }

    /**
     * Set stuId
     *
     * @param integer $stuId
     */
    public function setStuId($stuId)
    {
        $this->stuId = $stuId;
    }

    /**
     * Get stuId
     *
     * @return integer 
     */
    public function getStuId()
    {
        return $this->stuId;
    }

    /**
     * Set groupId
     *
     * @param integer $groupId
     */
    public function setGroupId($groupId)
    {
        $this->groupId = $groupId;
    }

    /**
     * Get groupId
     *
     * @return integer 
     */
    public function getGroupId()
    {
        return $this->groupId;
    }

    /**
     * Set stuStatus
     *
     * @param string $stuStatus
     */
    public function setStuStatus($stuStatus)
    {
        $this->stuStatus = $stuStatus;
    }

    /**
     * Get stuStatus
     *
     * @return string 
     */
    public function getStuStatus()
    {
        return $this->stuStatus;
    }

    /**
     * Set approver
     *
     * @param integer $approver
     */
    public function setApprover($approver)
    {
        $this->approver = $approver;
    }

    /**
     * Get approver
     *
     * @return integer 
     */
    public function getApprover()
    {
        return $this->approver;
    }

    /**
     * Set approveTime
     *
     * @param datetime $approveTime
     */
    public function setApproveTime($approveTime)
    {
        $this->approveTime = $approveTime;
    }

    /**
     * Get approveTime
     *
     * @return datetime 
     */
    public function getApproveTime()
    {
        return $this->approveTime;
    }

    /**
     * Set flag
     *
     * @param string $flag
     */
    public function setFlag($flag)
    {
        $this->flag = $flag;
    }

    /**
     * Get flag
     *
     * @return string 
     */
    public function getFlag()
    {
        return $this->flag;
    }
}